package com.tang.crm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tang.crm.dto.CustomerOrderDto;
import com.tang.crm.entity.CustomerOrder;

import java.util.Map;

public interface CustomerOrderService extends IService<CustomerOrder> {

    /**
     * 分页查询
     * @param customerOrderDto
     * @return
     */
    Map<String, Object> selectByParams(CustomerOrderDto customerOrderDto);

    /**
     * 通过订单ID查询对应的订单记录
     * @param orderId
     * @return
     */
    Map<String, Object> selectOrderById(Integer orderId);
}
